import { requestClient } from '#/api/request';

export interface LoginParams {
  account: string;
  password: string;
}

/**
 * 登录
 */
export async function loginApi(data: LoginParams) {
  return requestClient.post('/api/sysAuth/login', data);
}
